package com.yanqu.road.server.timer.shushan;

import com.yanqu.road.server.manger.activity.shushan.ShuShanMgr;
import com.yanqu.road.utils.executor.GeneralTask;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @Description
 * @Author cwq
 * @Data 2022/3/10 15:51
 */
public class ShuShanTask extends GeneralTask {

    protected Logger logger = LogManager.getLogger(ShuShanMgr.class.getName());

    @Override
    public void doRun() {
        try {
            // 刷新蜀山
            ShuShanMgr.refresh();
        }catch (Exception e) {
            logger.error(e.getMessage(), e);
        }
    }
}
